<?php
/**
 * Created by PhpStorm.
 * User: ADMIN
 * Date: 2021/5/24
 * Time: 5:58
 */
namespace app\api\validate;

class Profile extends Base
{
    protected $rule = [
        'mobile' => 'checkMobile',
        'email' => 'email',
    ];

    protected $message = [
        'mobile.checkMobile' => '手机号格式不正确',
        'email.email' => 'email格式不正确',
    ];
}